package com.leigang.java.code.design.mode.state.v3;

/**
 * @author leig-a
 * @version 1.0
 * @desc
 * @date 2022/5/5 15:01
 */
public class StartState implements State{
    @Override
    public void doAction(Context context) {
        System.out.println("Player is in start state");
        context.setState(this);
    }

    @Override
    public String toString(){
        return "Start State";
    }
}
